<html>
<head>
     <title>Help: trend</title>
</head>
<body>
     <center><table><tbody>
          <tr>
             <td style="border: 1px solid rgb(170, 170, 170); padding: 5px; background-color: #fff;">
                  <h4>trend</h4>Find a linear trend from a vector, usually for FFT processing.
                  <br><small>Last modified: 25-Sep-2009 16:28:41</small>

          </tr>
          <tr>
             <td style="border: 0px solid rgb(170, 170, 170); padding: 5px; background-color: #fff;">
                  <a href="http://guillaumemaze.googlecode.com/svn/trunk/matlab/codes/stats/trend.m">Download here</a>
             </td>
          </tr>
          <tr>
             <td style="border: 1px solid rgb(170, 170, 170); padding: 5px; background-color: #ddd; font-size:12px;">
                  <br>% TREND Find a linear trend from a vector, usually for FFT processing.<br>%   Y = TREND(X) finds the best straight-line fit linear trend from <br>%   the data in vector X and returns it in vector Y.  If X is a matrix,<br>%   TREND finds the trend from each column of the matrix.<br>%<br>%   Y = TREND(X,'constant') finds just the mean value from the vector X,<br>%   or the mean value from each column, if X is a matrix.<br>%<br>%   Y = TREND(X,'linear',BP) finds a continuous, piecewise linear trend.<br>%   Breakpoint indices for the linear trend are contained in the vector BP.<br>%   The default is no breakpoints, such that one single straight line is<br>%   removed from each column of X.<br>%<br>%   See also DETREND, MEAN
             </td>
          </tr>
          <tr>
             <td style="border: 1px solid rgb(170, 170, 170); padding: 5px; background-color: #fff; font-size:12px;">
                  Last update: 2011 March 04, 17:46<br>
                  Created by Guillaume Maze<br>
                  More informations at: <a href="http://codes.guillaumemaze.org/matlab">codes.guillaumemaze.org/matlab</a><br>
             </td>
          </tr>
     </tbody></table></center>
</body>
</html>
